// samsting : this file is auto create.

#ifndef ALIYUN_Rds_Region_DescribeTasksResponse_H_
#define ALIYUN_Rds_Region_DescribeTasksResponse_H_

#include "core/acs_response.h"

namespace aliyun { namespace Rds_Region {

class DescribeTasksResponse : public AcsResponse {
public:
  DescribeTasksResponse();

  class TaskProgressInfo {
    friend class DescribeTasksResponse;
  public:
    const string& GetDBName(void) const;
    const string& GetBeginTime(void) const;
    const string& GetProgressInfo(void) const;
    const string& GetFinishTime(void) const;
    const string& GetTaskAction(void) const;
    const string& GetTaskId(void) const;
    const string& GetProgress(void) const;
    const string& GetExpectedFinishTime(void) const;
    const string& GetStatus(void) const;
  private:
    string DBName_;
    string BeginTime_;
    string ProgressInfo_;
    string FinishTime_;
    string TaskAction_;
    string TaskId_;
    string Progress_;
    string ExpectedFinishTime_;
    string Status_;
  }; // TaskProgressInfo 

  const std::vector<TaskProgressInfo>& GetItems(void) const;
  int  GetTotalRecordCount(void) const;
  int  GetPageNumber(void) const;
  int  GetPageRecordCount(void) const;

private:
  std::vector<TaskProgressInfo> Items_;
  int    TotalRecordCount_;
  int    PageNumber_;
  int    PageRecordCount_;

protected:
  const char* BaseKey(void);
  void         UnmarshallerMap(std::map<string, string>& response_map);

};

} } // namespace aliyun { namespace Rds_Region {

#endif // #ifndef ALIYUN_Rds_Region_DescribeTasksResponse_H_

// end of file 
